package Stream;

import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;

public class Test01_NodeStream {

	public static void main(String[] args) {
		InputStream in=System.in;
		try{
			
			Reader rd = new InputStreamReader(in);
			
		System.out.println("한글자만 입력하세요!");
		
		//int n = in.read(); // 한글 조합 불편해.
		int n = rd.read();  // 한글 조합 정상
		
		System.out.println(n+","+(char)n);
		}catch (Exception ex){
			ex.printStackTrace();
		}
	}

}
